chore: deduplicate workspace fields in Cargo.toml #5519
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
Closes #.
Rationale for this change
It hurts when I want to test some local change on arrow/parquet/datafusion. I have to change all those dependencies to the local path. So I try to simplify our Cargo.toml using the new cargo feature workspace deduplicate which is stabilized in 1.64.
What changes are included in this PR?
Two major parts in Cargo.toml files are changes:
This should also reduce the work when bumping and releasing new versions. For the dependencies, I currently only include those arrow/parquet stuff in workspace dependencies. I can add others as well if need.
Are these changes tested?
Are there any user-facing changes?
The
rust-version
field is changed from1.62
to1.64
.But I think it's fine to bump our MSRV.
1.62
is too old to compile datafusion. I used to encounter an error that says "the featureerror_in_core
does not exist" (it comes from one of our dependencies). However the feature PR is merged in rust-lang/rust#99917 on Aug 24, 2022 (while1.62
is released in June, 2022)